<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
 </tr>
 </tbody>
</table>
</div>
<body bgcolor="#ffffff">
<table width="100%">
  <tr>
    <td width="30%" align="left" valign="center">
      <a href="https://github.com/open-source-parsers/jsoncpp">
      JsonCpp project page
      </a>
    </td>
    <td width="20%" align="center" valign="center">
      <a href="hierarchy.html">
        Classes
      </a>
    </td>
    <td width="20%" align="center" valign="center">
      <a href="namespace_json.html">
        Namespace
      </a>
    </td>
    <td width="30%" align="right" valign="center">
      <a href="http://open-source-parsers.github.io/jsoncpp-docs/doxygen/">JsonCpp home page</a>
    </td>
  </tr>
</table>
<hr>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('json__value_8cpp.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#namespaces">Namespaces</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">json_value.cpp File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;<a class="el" href="assertions_8h.html">json/assertions.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="value_8h.html">json/value.h</a>&gt;</code><br />
<code>#include &lt;<a class="el" href="writer_8h.html">json/writer.h</a>&gt;</code><br />
<code>#include &lt;math.h&gt;</code><br />
<code>#include &lt;sstream&gt;</code><br />
<code>#include &lt;utility&gt;</code><br />
<code>#include &lt;cstring&gt;</code><br />
<code>#include &lt;cassert&gt;</code><br />
<code>#include &lt;cstddef&gt;</code><br />
<code>#include &lt;algorithm&gt;</code><br />
<code>#include &quot;<a class="el" href="json__valueiterator_8inl.html">json_valueiterator.inl</a>&quot;</code><br />
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespace_json"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_json.html">Json</a></td></tr>
<tr class="memdesc:namespace_json"><td class="mdescLeft">&#160;</td><td class="mdescRight">JSON (JavaScript Object Notation). <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:aa5e619e3e9388f6376a344dd8462c9cc"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="json__value_8cpp.html#aa5e619e3e9388f6376a344dd8462c9cc">JSON_ASSERT_UNREACHABLE</a>&#160;&#160;&#160;assert(false)</td></tr>
<tr class="separator:aa5e619e3e9388f6376a344dd8462c9cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a08a0024ebd1cc16ccc4a208e1e817f6e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="json__value_8cpp.html#a08a0024ebd1cc16ccc4a208e1e817f6e">ALIGNAS</a>(byte_alignment)</td></tr>
<tr class="separator:a08a0024ebd1cc16ccc4a208e1e817f6e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:aff0180507262a244de61b961178d7443"><td class="memTemplParams" colspan="2">template&lt;typename T , typename U &gt; </td></tr>
<tr class="memitem:aff0180507262a244de61b961178d7443"><td class="memTemplItemLeft" align="right" valign="top">static bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespace_json.html#aff0180507262a244de61b961178d7443">Json::InRange</a> (double d, T min, U max)</td></tr>
<tr class="separator:aff0180507262a244de61b961178d7443"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a678ac3a60cd70ec0fb4c9abfd40eb0c4"><td class="memItemLeft" align="right" valign="top">static char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_json.html#a678ac3a60cd70ec0fb4c9abfd40eb0c4">Json::duplicateStringValue</a> (const char *value, size_t length)</td></tr>
<tr class="memdesc:a678ac3a60cd70ec0fb4c9abfd40eb0c4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Duplicates the specified string value.  <a href="namespace_json.html#a678ac3a60cd70ec0fb4c9abfd40eb0c4">More...</a><br /></td></tr>
<tr class="separator:a678ac3a60cd70ec0fb4c9abfd40eb0c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9795a09a0141d1f12d307c4386aeaee6"><td class="memItemLeft" align="right" valign="top">static char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_json.html#a9795a09a0141d1f12d307c4386aeaee6">Json::duplicateAndPrefixStringValue</a> (const char *value, unsigned int length)</td></tr>
<tr class="separator:a9795a09a0141d1f12d307c4386aeaee6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aad8b4982c1acd164f541fba396ac9fb1"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_json.html#aad8b4982c1acd164f541fba396ac9fb1">Json::decodePrefixedString</a> (bool isPrefixed, char const *prefixed, unsigned *length, char const **value)</td></tr>
<tr class="separator:aad8b4982c1acd164f541fba396ac9fb1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48f4e3ea655e3b4a5d7f892c81f00511"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_json.html#a48f4e3ea655e3b4a5d7f892c81f00511">Json::releasePrefixedStringValue</a> (char *value)</td></tr>
<tr class="memdesc:a48f4e3ea655e3b4a5d7f892c81f00511"><td class="mdescLeft">&#160;</td><td class="mdescRight">Free the string duplicated by <a class="el" href="namespace_json.html#a678ac3a60cd70ec0fb4c9abfd40eb0c4" title="Duplicates the specified string value. ">duplicateStringValue()</a>/duplicateAndPrefixStringValue().  <a href="namespace_json.html#a48f4e3ea655e3b4a5d7f892c81f00511">More...</a><br /></td></tr>
<tr class="separator:a48f4e3ea655e3b4a5d7f892c81f00511"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3e0d81d514d0e8bddf33b08074214abd"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_json.html#a3e0d81d514d0e8bddf33b08074214abd">Json::releaseStringValue</a> (char *value, unsigned)</td></tr>
<tr class="separator:a3e0d81d514d0e8bddf33b08074214abd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ade0b81cbaf1503c98f686fa7e4988a71"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_json.html#ade0b81cbaf1503c98f686fa7e4988a71">Json::__declspec</a> (noreturn) void throwRuntimeError(std</td></tr>
<tr class="separator:ade0b81cbaf1503c98f686fa7e4988a71"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1a04cc9d31e64b5912dade003c9b99b5"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_json.html#a1a04cc9d31e64b5912dade003c9b99b5">Json::IsIntegral</a> (double d)</td></tr>
<tr class="separator:a1a04cc9d31e64b5912dade003c9b99b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:aecc0306aa526f25c5156f842182fb7fb"><td class="memItemLeft" align="right" valign="top">static const double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_json.html#aecc0306aa526f25c5156f842182fb7fb">Json::maxUInt64AsDouble</a> = 18446744073709551615.0</td></tr>
<tr class="separator:aecc0306aa526f25c5156f842182fb7fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a id="a08a0024ebd1cc16ccc4a208e1e817f6e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a08a0024ebd1cc16ccc4a208e1e817f6e">&#9670;&nbsp;</a></span>ALIGNAS</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ALIGNAS</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">byte_alignment</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="aa5e619e3e9388f6376a344dd8462c9cc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa5e619e3e9388f6376a344dd8462c9cc">&#9670;&nbsp;</a></span>JSON_ASSERT_UNREACHABLE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define JSON_ASSERT_UNREACHABLE&#160;&#160;&#160;assert(false)</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.13-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_558a3a6fe8f26971847c96e209994c71.html">lib_json</a></li><li class="navelem"><a class="el" href="json__value_8cpp.html">json_value.cpp</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>
